projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a397824
)
GtkSpinButton: Only notify 'adjustment' if the property changed
author
Debarshi Ray
<debarshir@gnome.org>
Tue, 12 Aug 2014 09:54:29 +0000
(11:54 +0200)
committer
Debarshi Ray
<debarshir@gnome.org>
Tue, 12 Aug 2014 09:54:29 +0000
(11:54 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=734649
gtk/gtkspinbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkspinbutton.c
b/gtk/gtkspinbutton.c
index a70976d1ea8319e02e3258438bb68735c9ef8d12..334845072932f12d41838dfed6277e426acc8c4b 100644
(file)
--- a/
gtk/gtkspinbutton.c
+++ b/
gtk/gtkspinbutton.c
@@
-2262,10
+2262,9
@@
gtk_spin_button_set_adjustment (GtkSpinButton *spin_button,
priv->timer_step = gtk_adjustment_get_step_increment (priv->adjustment);
}
+ g_object_notify (G_OBJECT (spin_button), "adjustment");
gtk_widget_queue_resize (GTK_WIDGET (spin_button));
}
-
- g_object_notify (G_OBJECT (spin_button), "adjustment");
}
/**